Pular para o conteúdo principal

lifecycle methods

There are three ways for a component to be re-rendered

  • component first mounted
  • component receives new props
  • component state changes